/**
 * 项目主控制文件
 * @type {module.exports}
 */
module.exports = class extends think.Controller {
    constructor(ctx){
        super(ctx);
        this.header('Access-Control-Allow-Origin','*');
        this.header('Access-Control-Allow-Headers','Content-Type,Content-Length, Authorization, Accept,X-Requested-With');
        this.header('Access-Control-Allow-Methods','PUT,POST,GET,DELETE,OPTIONS');
        this.header('X-Powered-By','3.2.3');
    }
};
